package com.ggb.reactive.repository

import com.ggb.reactive.domain.entity.OrderDetail
import com.ggb.reactive.domain.entity.Orders
import com.ggb.reactive.domain.entity.User
import org.springframework.data.repository.reactive.ReactiveCrudRepository
import org.springframework.stereotype.Repository
import reactor.core.publisher.Flux
import reactor.core.publisher.Mono

@Repository
interface OrderDetailRepository: ReactiveCrudRepository<OrderDetail, Long> {
    fun findAllByOrderId(id: Long): Flux<OrderDetail>

}